package com.tour.pojo;

import java.util.Date;

public class TrafficInfo {
    private Long trId;

    private String fromePlace;

    private Date fromTime;

    private Date createTime;

    private Date updateTime;

    public TrafficInfo(Long trId, String fromePlace, Date fromTime, Date createTime, Date updateTime) {
        this.trId = trId;
        this.fromePlace = fromePlace;
        this.fromTime = fromTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public TrafficInfo() {
        super();
    }

    public Long getTrId() {
        return trId;
    }

    public void setTrId(Long trId) {
        this.trId = trId;
    }

    public String getFromePlace() {
        return fromePlace;
    }

    public void setFromePlace(String fromePlace) {
        this.fromePlace = fromePlace == null ? null : fromePlace.trim();
    }

    public Date getFromTime() {
        return fromTime;
    }

    public void setFromTime(Date fromTime) {
        this.fromTime = fromTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}